
<div class="page">
	<div class="pageHeader" style="display: none;">
		<form onsubmit="return navTabSearch(this);" action="demo_page1.html" method="post">
		<div class="searchBar">
			<ul class="searchContent">
				<li>
					<label>管理页面列表：</label>
					<input type="text" />
				</li>
			</ul>
			<div class="subBar">
				<ul>
					<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
					<li><a class="button" href="demo_page6.html" target="dialog" rel="dlg_page1" title="查询框"><span>高级检索</span></a></li>
				</ul>
			</div>
		</div>
		</form>
	</div>
	
	<div class="pageContent">
		<div class="panelBar">
			<ul class="toolBar">
				<li><a class="add" href="management_page_add.html" target="dialog" rel="manage_page_add" mask="true" width="600" height="500"><span>添加</span></a></li>
				<li><a class="delete" url="management/page/@{page_id}" area="tbody.list" callback="reload" type="delete" target="navTabTodo" title="确定要删除选中的数据吗？" warn="请选择需要删除的数据项！"><span>删除</span></a></li>
				<li class="line">line</li>
			</ul>
		</div>
		
			<table class="list" width="98%" layoutH="53">
				<thead>
					<tr>
						<th width="25"><input type="checkbox" name="objectId" value="page_id"/></th>
						<th width="80">编号</th>
						<th width="100">页面标题</th>
						<th width="100">关键字</th>
						<th>描述</th>
						<th align="right">操作</th>
					</tr>
				</thead>
				<tbody style="display: none;" class="templet">
					<tr page=${page_id}>
						<td><input type="checkbox" name="page_id" value="${page_id}"/></td>
						<td>${num}</td>
						<td name="title">${title}</td>
						<td name="keyword">${keyword}</td>
						<td name="description">${description}</td>
						<td>
							<a class="edit" href="management_page_update.html?page_id=${page_id}" target="dialog" warn="非法参数（${page_id}）" width="750" height="600" callback="updateManagementPageItem"><span>修改</span></a>
						</td>
					</tr>
				</tbody>
				<tbody class="list" action="/management/page">
					
				</tbody>
			</table>
		
		<div class="panelBar">
			<div class="pages"></div>
			<div class="pagination" totalCount="0" numPerPage="20" pageNumShown="10" currentPage="1"></div>
		</div>
	
	</div>
</div>
<script>
function updateManagementPageItem(item){
	var table=$("table.list");
	var page=$("tr[page="+item.page_id+"]",table);
	entity.find("td[name=title]").text(item.title);
	entity.find("td[name=keyword]").text(item.keyword);
	entity.find("td[name=description]").text(item.description);
	alert("更新成功");
}
</script>